package com.zyl.edthresholdtraining.common;


/**
 * @author zhangyulu
 * @description  定义常量的接口类
 * @date 2020/6/14/014
 */
public interface AppConstant {

    String PROJECT_NAME = "/ED_threshold_training";
    String VERSION = "/v1";
    String PATH_URL = PROJECT_NAME + "/api" + VERSION;

    String MAX_TEST_TIMES = "MAX_TEST_TIMES_REST:";
    String MAX_TRAIN_TIMES = "MAX_TRAIN_TIMES_REST:";
    Integer MAX_TRAIN_TIMES_VALUE = 10000;
    String IMAGE_DIR = "/image/";
    String IMAGE_SPLIT = "::";
    String IMAGE_SUFFIX = ".jpg";
    //用户Id Key
    String USER_ID = "userId";
    //分组对象 Key
    String GROUP_OBJ_STRNING = "objString";
    String GROUP_LEARN_NUMBER = "learnNumber";

    String LEARN_LOAD_TIME = "loadTime";
    String LEARN_MINUTE = "learnMinute";
    String LEARN_SECOND = "learnSecond";
    String NUMBER_STE = "numberStr";
    String LEFT_TIME = "leftTime";

    //被试选择
    String USER_ANSWER_CHOOSE_RIGHT = "1";
    String USER_ANSERT_CHOOSE_WRONG = "0";

    Integer GROUP_NUMBER = 10;
    Integer TOTAL = 10;


    /**
     * 配置次数和时间
     * */
    Integer MAX_TEST_TIMES_VALUE = 1000;
    Integer SESSION_EXPIRE_TIME = 100*60;
    Long MS_EXPIRE_TIME = 10*60*1000L;
    String TIME_PARTITION_TRAIN = "无限制";
    /**
     * 被试测试的次数
    * */
    Integer USER_TEST_TIMES_VALUE = 1;
    String USER_TEST_TIMES = "USER_TEST_TIMES:";

    /** 时间标识*/
    String TRAIN_TIME_MARK = "TRAIN_TIME_MARK:";
    /**
     * 被试训练测试
     * */
    Integer USER_TRAIN_TIMES_VALUE = 1;

    String USER_TRAIN_TIMES = "USER_TRAIN_TIMES:";
}

